#define _CRT_SECURE_NO_WARNINGS

#include"Queue.h"

int main()
{
	Queue queue;
	QueueInit(&queue);
	QueuePush(&queue, 1);
	QueuePush(&queue, 2);
	QueuePush(&queue, 3);
	QueuePush(&queue, 4);

	while (QueueEmpty(&queue) == 0)
	{
		printf("%d ", QueueFront(&queue));
		QueuePop(&queue);
	}
	return 0;
}